The new version of dns-lookup failed to build with musl:
error[E0308]: mismatched types
--> gping/src/main.rs:331:19
|
331 | Ok(ip) => ip,
| ^^ expected `Vec<IpAddr>`, found opaque type
|
::: /builder/shared-workdir/build/sdk/dl/cargo/registry/src/index.crates.io-
1949cf8c6b5b557f/dns-lookup-2.1.0/src/lookup.rs:17:46
|
17 | pub fn lookup_host(host: &str) -> io::Result<impl Iterator<Item = IpAddr> + use<>> {
| ------------------------------------ the found opaque type
|
= note: expected struct `Vec<IpAddr>`
Signed-off-by: Tianling Shen <[email protected]>
PKG_NAME:=gping
PKG_VERSION:=1.18.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/orf/gping/tar.gz/$(PKG_NAME)-v$(PKG_VERSION)?
also plot the execution time of arbitrary commands.
endef
-Build/Compile = $(call Build/Compile/Cargo,gping)
+Build/Compile = $(call Build/Compile/Cargo,gping,--locked)
$(eval $(call RustBinPackage,gping))
$(eval $(call BuildPackage,gping))